package com.ruoyi.aitcommon.service;

import com.ruoyi.aitcommon.utils.IDGenUtils;
import org.springframework.stereotype.Service;

@Service
public class IDService {
    /**
     * 获取唯一id
     * @return 唯一ID,长度18位的数字字符串,不是UUID
     * @throws
     */
    public String getID() {
        return IDGenUtils.getGuid();
    }
}
